﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Rose.Models.RecommendModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MiddleContent" runat="server">

    <%Html.RenderAction("SearchByCollegePart", "Search"); %>

  <%string collegename = "同校"; if (!string.IsNullOrEmpty(ViewData["College"] as string )) { collegename = ViewData["College"] as string; } %>
<div class="title"><p><%=collegename %>推荐</p></div>



 <div id="requestlist">




 <%foreach (var item in Model)
     { %>
     <div class="clear"></div>
    <%Html.RenderAction("SingleRecommendPart", "Home", item); %>
  <%} %>
</div><!-- end of list-->



</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ScriptContent" runat="server">
<%Html.RenderAction("HomeScriptPart", "Home"); %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">

 <%Html.RenderAction("SelfPart","Home"); %>
<%Html.RenderAction("SearchBarPart", "Search"); %>
 <%Html.RenderAction("RecommendPart", "Home", new { currentpage =1, type = "university", isOppGender = false, isDescending = true });%>
 <%Html.RenderAction("HotPart", "Home"); %>
 <%Html.RenderAction("BirthPart", "Home"); %>

</asp:Content>